package map;

import java.util.ArrayList;
import tile.*;

public class Map
{
    private Location[][] grid;

    public Map(final int size) {
        grid = new Location[size][size];
        generateFloor();
    }

    public void generateFloor() {

    }

    public void generateTerrain() {

    }


    public void addTerrain(int x, int y, Tile tile) {
        grid[x][y].addTop(tile);
    }

    public void addTerrain(int x, int y, int level, Tile tile) {
        grid[x][y].addTile(level, tile);
    }

    public Location[][] getFloorMap(){
        return grid;
    }
}
